/**
 * 这就是仓库核心文件
 * 必须创建一个仓库对象
 * import {creeateStore} from "redux"
 * creeateStore()
 */
import {configureStore} from "@reduxjs/toolkit"
import countReducer from "./features/countReducer"
import orderReducer from "./features/orderReducer"
import checkMenuReducer from "./features/checkMenuReducer"
const store = configureStore({
    //指定加载哪个reducer
    reducer:{
        countRD:countReducer,
        orderRD:orderReducer,
        menuRD:checkMenuReducer
    }
})

export default store


